<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ page import="java.io.InputStream" %>
<%@ page import="java.io.IOException" %>
<%@ page import="java.util.Properties" %>
<%@ page import="cn.ffcs.security.model.User" %>
<%@ page import="cn.ffcs.security.web.UserContext" %>
<%
 User user=((UserContext)session.getAttribute("LOGINUSER_CONTEXT")).getCurrUser();
 Properties prop = new Properties(); 
 InputStream in = null; 
 String url="";
 try { 
     in=this.getClass().getResourceAsStream("/sp-server.properties");
     prop.load(in); 
     url=prop.getProperty("sp.server.url");
 } catch (IOException e) { 
     e.printStackTrace(); 
 } finally{
     if (in != null) {
         try {
             in.close();
         } catch (Exception e) {
         }
     }
 }
 url=url.substring(0,url.indexOf("/sp/")+4)+"module_share/spmsQryCtInfo.htm";
 %>
<html>
	<head><%@ include file="/commons/include/list_page.inc"%>
		<title>Untitled Document</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link rel="stylesheet" href="<s:url value="/css/style.css"/>">

		<style type="text/css">
<!--
.STYLE1 {
	color: #ff0000
}
-->
</style>
	</head>
	<script type="text/javascript" src="<s:url value="/components/datepicker/WdatePicker.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/script/easyajax.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/script/fenYe.js"/>"></script>
	<script type="text/javascript" src="<s:url value="/script/md5.js"/>"></script>
	<script>
function initLoad(){
	f_iframeResize();
}
var ajax=new AjaxObj();
var data="";
/*投诉信息查询*/
function checkSpComplain(pageInfo){
    var url="<s:url value="/sp/listComplain.action"/>";
    if(pageInfo){
 		url+="?"+pageInfo;
    }
	callSynchronized(url,function(XML){//同步调用
	    ajax.xml=XML.responseXML;
	    ajax.tableName=baseInfoTable
	    ajax.root="data";
	    ajax.createTable();
	},"form1");
window.onload = initLoad;
}
/*设置当前记录值*/
function clickOne(){
	setCurrentData(ajax);
	data=ajax.getCurrentData();
}

function showDetail(){
    var url="showDetail.action?act=toComplain";
    window.showModalDialog(url,window,"status:no;dialogWidth:1000px;dialogHeight:650px;scroll:no;")
}

</script>

	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" >
		<table width="980" border="0" cellspacing="0" cellpadding="0" align="center" height="100%">
			<tr>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="0"
						background="<s:url value="/images/new/gxzl_index_2.gif"/>">
						<tr>
							<td width="20" height="32">
								&nbsp;
							</td>
							<td width="20">
								<img src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
									height="12" />
							</td>
							<td>
								当前位置：<font
											color="#003399">投诉统计</font>
							</td>
							<td width="60">
							</td>
							<td width="200">
							</td>
							<td width="100">
							</td>
						</tr>
					</table>
				</td>
			</tr>
  <tr height="100%"> 
    <td  background=""  class="leftbg" valign="top"> 
      <table width="90%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td valign="top" align="center">
			<br>
					<table width="840" border="0" align="center" cellspacing="0" cellpadding="0"
						background="<s:url value="/images/catalog_manage_8b_1.gif"/>">
						<tr>
							<td><img src="<s:url value="/images/catalog_manage_8.gif"/>" width=840
								height=11 alt=""></td>
						</tr>
						<tr>
							<td align="center" >
			                         
									                         <form name="form1">
											<table width="98%" border="0" cellspacing="0" cellpadding="0"
												align="center" class=tablecolor2>
												<tr>
													<td width="15%" height="50">
														<div align="left">
															业务接入平台
														</div>
													</td>
													<td width="35%">
														<select  id="pt" style="width:154" name="INF9">
														    <option value="">
																全部
															</option>
															<option value="610004765">
																短信
															</option>
															<option value="610004945">
																商务领航
															</option>
															<option value="610004985">
																七彩铃音
															</option>
															<option value="610005346">
																C_短信
															</option>
															<option value="610005349">
																C_WAP
															</option>
															<option value="610005350">
																C_彩铃
															</option>
															<option value="610005355">
																互联星空
															</option>
															<option value="610005352">
																C_其他平台
															</option>
														</select>
													</td>
													<td width="16%">
														<div align="left">
															服务代码
														</div>
													</td>
													<td width="34%">
														<input type="text"  name="INF3" value="" />
													</td>
												</tr>
												<tr>
													<td width="15%" height="50">
														<div align="left">
															投诉单号
														</div>
													</td>
													<td width="35%">
														<input type="text"  name="INF5" value="" />
													</td>
													<td width="16%">
														<div align="left">
															障碍号码
														</div>
													</td>
													<td width="34%">
														<input type="text"  name="INF6" value="" />
													</td>
												</tr>
												<tr>
													<td width="15%" height="50">
														<div align="left">
															主叫号码
														</div>
													</td>
													<td width="35%">
														<input type="text"  name="INF2" value="" />
													</td>
													<td width="16%">
														<div align="left">
															业务名称
														</div>
													</td>
													<td width="34%">
														<input type="text"  name="INF4" value="" />
													</td>
												</tr>
												<tr>
													<td width="15%" height="50">
														<div align="left">
															状 态
														</div>
													</td>
													<td width="35%">
														<select  style="width:154" name="INF7">
														    <option value="">
																全部
															</option>
															<option value="S907001">
																受理状态
															</option>
															<option value="S907003">
																等待处理状态
															</option>
															<option value="S907004">
																已处理待归档状态
															</option>
															<option value="S907008">
																定单退回状态
															</option>
															<option value="S907998">
																当场处理归档状态
															</option>
															<option value="S907999">
																已归档状态
															</option>
														</select>
													</td>
													<td width="16%">
														<div align="left">
															投诉日期
														</div>
													</td>
													<td width="34%">
													    <select name="compare" style="width:50px">
													    	<option value=">">
																大于
															</option>
															<option value="=" selected>
																等于
															</option>
															<option value="<">
																小于
															</option>
															<option value=">=">
																大于等于
															</option>
															<option value="<=">
																小于等于
															</option>
													    </select>
													    <input type="text"  class="Wdate" value="2009-01-01"  onFocus="new WdatePicker(this)" name="INF1" size="11"/>
													</td>
												</tr>
												<tr>
													<td width="15%" height="50">
														<div align="left">
															投诉内容
														</div>
													</td>
													<td width="35%">
														<input type="text"  name="INF8" value="" />
													</td>
													<td width="15%" height="50">
														<div align="left">
															SP名称
														</div>
													</td>
													<td width="35%">
														<input type="text"  name="INF10" value="" />
													</td>
												</tr>
											</table>

											<TABLE width="98%" cellSpacing=1 cellPadding=0 align="center">
												<TR height=30>
													<TD align=left width="60%">
														<input type="button" name="Submit2" onclick="checkSpComplain()" value="查 询">&nbsp;
														<input type="reset" name="reset"  value="清 空">
													</TD>
													<TD>
													</TD>
												</TR>
											</table>

											</form>
											<div id="fenYe" width="100%" funName="checkSpComplain"></div>
											<table  onclick="clickOne()"  id="baseInfoTable" width="98%" border="0" cellspacing="0" cellpadding="0"
												align="center" class=tablecolor2>
												<tr>
													<td width="243" height="50" bgcolor="9AC2EB" jtext="fieldValue" jindex="0"  jlink="javascript:showDetail()">
														<div align="center">
															接触协议号
														</div>
													</td>
													<td width="150" height="50" bgcolor="9AC2EB"  jtext="fieldValue" jindex="1" jlink="javascript:showDetail()">
														<div align="center">
															障碍号码
														</div>
													</td>
													<td width="216" height="50" bgcolor="9AC2EB"  jtext="fieldValue" jindex="2" jlink="javascript:showDetail()">
														<div align="center">
															主叫号码
														</div>
													</td>

													<td bgcolor="9AC2EB" width="120"  jtext="fieldValue" jindex="3" jlink="javascript:showDetail()">
														<div align="center">
															服务代码
														</div>
													</td>

													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="4" jlink="javascript:showDetail()">
														<div align="center">
															平台名称
														</div>
													</td>
													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="5" jlink="javascript:showDetail()">
														<div align="center">
															投诉类型
														</div>
													</td>
													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="6" jlink="javascript:showDetail()">
														<div align="center">
															SP名称
														</div>
													</td>
													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="7" jlink="javascript:showDetail()">
														<div align="center">
															重要级别
														</div>
													</td>
													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="8" jlink="javascript:showDetail()">
														<div align="center">
															受理时间
														</div>
													</td>
													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="9" jlink="javascript:showDetail()">
														<div align="center">
															状态
														</div>
													</td>
													<td width="117" bgcolor="9AC2EB" jtext="fieldValue" jindex="10" jlink="javascript:showDetail()">
														<div align="center">
															当前处理部门
														</div>
													</td>
												</tr>
												
											</table>
									                         
							</td>
						</tr>
						<tr>
							<td>
								<img src="<s:url value="/images/catalog_manage_8a.gif"/>" width="840"
								height="9">
							</td>
						</tr>
					</table>
	</body>
</html>
<script>
//checkSpComplain();
</script>